<?php
class Comment{
    private $mId;
    private $mIssue_id;
    private $mEmployee_id;
    private $mComment_detail;
    private $mCreatedBy;
    private $mCreatedDate;
    private $mIsLoaded;
    
    public function setId($value){
        $this->mId = $value;
    }
    
    public function getId(){
        return $this->mId;
    }

    public function setIssue($value){
        $this->mIssue_id = $value;
    }
    public function getIssue(){
        return $this->mIssue_id;
    }
    
    public function setEmployee($value){
        $this->mEmployee_id = $value;
    }
    public function getEmployee(){
        if (($this->mEmployee_id != null) && (!$this->mEmployee_id->IsLoaded(false))) {
            $UserDao = new UserDao();   
            $this->mEmployee_id = $UserDao->getObject($this->mEmployee_id->getId());
            if ($this->mEmployee_id != null) $this->mEmployee_id->setIsLoaded(true);
        }
        return $this->mEmployee_id;
    }
    public function setCommentDetail($value){
        $this->mComment_detail = $value;
    }
    
    public function getCommentDetail(){
        return $this->mComment_detail;
    }

    public function getCreatedDate(){
        return $this->mCreatedDate;
    }

    public function setCreatedDate($value){
        $this->mCreatedDate = $value;
    }
    
    public function IsLoaded(){
        return $this->mIsLoaded;
    }

    public function setIsLoaded($value){
        $this->mIsLoaded = $value;
    }


}